only if form_class is not None, and if form_class has an attribute '_meta' and form_class._meta.fields is not None,
return ( form_class is not None and ( hasattr ( form_class , '_meta' ) and ( form_class . _meta . fields is not None or form_class . _meta . exclude is not None ) ) )