<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _fits_surface(self, width, height):
 """ Test surface is big enough to place a rectangle Arguments: width (int, float):
 Rectangle width height (int, float):
 Rectangle height Returns: boolean: True if it could be placed, False otherwise """

        assert(width > 0 and height > 0)
        if self.rot and (width > self.width or height > self.height):
            width, height = height, width

        if width > self.width or height > self.height:
            return False
        else:
            return True