def chk_can_manip(ch, cmd):
    """
    Check if a character can manipulate an object based on their
    current position.

    :param ch: character
    :param cmd: command name being performed
    :return: True if possible, False if not
    """
    if not ch.pos in ["sitting", "standing", "flying"]:
        ch.send("You cannot do that while " + ch.pos + ".")
        return False