Added documentation for 'isLandscapeOrPortrait' method