from typing import Optional


def is_active_order(status: Optional[str]) -> bool:
    """
    Detemines if order is an active one

    Args:
        status:                     order status field

    Returns:
        bool
    """
    # bibs without orders should be considered in analysis
    if status is None:
        return True
    elif status in "aoq":
        return True
    else:
        return False