parameters: (self, image_object)
docstring: Validates image dimensions are less than the maximum allowed in settings.
docstring_summary: Validates image dimensions are less than the maximum allowed in settings.
docstring_tokens: Validates image dimensions are less than the maximum allowed in settings .
function: def __validate_image_dimensions(self, image_object):
          ''' Validates image dimensions are less than the maximum allowed in settings. '''
  
          width, height = image_object.size
  
          if (width < settings.MAXIMUM_IMAGE_WIDTH) and (height < settings.MAXIMUM_IMAGE_HEIGHT):
              return True
          else:
              return False
function_tokens: def __validate_image_dimensions ( self , image_object ) : width , height = image_object . size if ( width < settings . MAXIMUM_IMAGE_WIDTH ) and ( height < settings . MAXIMUM_IMAGE_HEIGHT ) : return True else : return False