'Checks if sprite should enter a falling state'

def check_if_falling(self, sprite, sprite_group):

    sprite.rect.y += 1
    if (pg.sprite.spritecollideany(sprite, sprite_group) is None):
        if (sprite.state != c.JUMP):
            sprite.state = c.FALL
    sprite.rect.y -= 1
