checkLandscape function

Check the landscape