def iscoord(coord):
    """Checks if a value can be associated with a coordinate.

    Parameters
    ----------
    coord : array_like
        Value associated with a coordinate.

    Returns
    -------
    bool
        Indicates whether or not the value is a coordinate.

    """
    return hasattr(coord, '__len__') and len(coord) > 0 and not hasattr(coord
        [0], '__len__')
