RequestContext helper methods to simplify request type check

Description

in RH we have a lot of code as follows:

we need to simplify as follows

Environment

None

Assignee

Andrea Di Cesare

Reporter

Andrea Di Cesare

Labels

None

Fix versions

Affects versions

Priority

Major
Configure