Added PEP fixes, grammar fixes and implementation fixes
avoided using hasattr, instead use field flags
removed unused import
flake8 changes and removed is_m2m
Refactored imports
added better phrasing for field instances