Extracted method to show conditional statement intention