def _check_center_ok(centerpos, centersize, pos):
    """Checks whether pos is far away enough from centerpos"""
    x, y = False, False
    if pos[0]-centersize > centerpos[0] or pos[0]+centersize < centerpos[0]: x = True
    if pos[1]-centersize > centerpos[1] or pos[0]+centersize < centerpos[1]: y = True
    return (x and y)