def _find_field(axisman, default, provided):
    """This is a utility function for the pattern where a default should
    be extracted from an AxisManager, unless an alternative key name
    has been passed in, or simply an alternative array of values.

    """
    if provided is None:
        provided = default
    if isinstance(provided, str):
        return axisman[provided]
    return provided