Enhancing isloggedin/isnotloggedin output filters
Added ctx option to isloggedin/isnotloggedin output filters

* origin/pr/11184:
  Enhancing isloggedin/isnotloggedin output filters