isLandscape method
@Description check if the current context is with landscape view @Return: bool => bool check for this condition
Implementation
bool isLandscape(){
return this.orientation == Orientation.landscape && this.isPortraitLandscape();
}