Code Refactoring Avoid Nested If Statements With Early Returns Dev

Code Refactoring Avoid Nested If Statements With Early Returns Dev