<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_dtype_equal(source, target):
 """ Check if two dtypes are equal. Parameters source : The first dtype to compare target : The second dtype to compare Returns boolean Whether or not the two dtypes are equal. Examples -------- False True False True False """


    try:
        source = _get_dtype(source)
        target = _get_dtype(target)
        return source == target
    except (TypeError, AttributeError):

        # invalid comparison
        # object == category will hit this
        return False