<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_structured_array(obj):
 """ Returns True if the given object is a Numpy Structured Array. Parameters obj: instance The object to test whether or not is a Numpy Structured Array. """

    if isinstance(obj, np.ndarray) and hasattr(obj, 'dtype'):
        if obj.dtype.names is not None:
            return True
    return False