refactored a method to check if plane can land