Update Request.php

Should this condition be inverted?