Change check to yoda check