How to check the player's viewing angle 80..90 in an achievement or predicate?

How to check the player's viewing angle 80..90 in an achievement or predicate? like execute if entity @s[x_rotation=89..90]
Continue to help post