An existence result of entropy solutions to elliptic problems in generalized Orlicz–Sobolev spaces