<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def skip_inasafe_field(layer, inasafe_fields):
 """Check if it possible to skip inasafe field step. The function will check if the layer has a specified field type. :param layer: A Qgis Vector Layer. :type layer: QgsVectorLayer :param inasafe_fields: List of non compulsory InaSAFE fields default. :type inasafe_fields: list :returns: True if there are no specified field type. :rtype: bool """

    # Iterate through all inasafe fields
    for inasafe_field in inasafe_fields:
        for field in layer.fields():
            # Check the field type
            if isinstance(inasafe_field['type'], list):
                if field.type() in inasafe_field['type']:
                    return False
            else:
                if field.type() == inasafe_field['type']:
                    return False
    return True