def create_avishan_config_file(app_name: str=None):
    """
    MONITORED_APPS_NAMES = []
    NOT_MONITORED_STARTS [
        '/admin', '/static', '/media', '/favicon.ico'
    ]
    JWT_KEY = "" or none if not available
    """
    if app_name:
        f = open(app_name + '/avishan_config.py', 'w+')
    else:
        f = open('avishan_config.py', 'w+')
    f.writelines(('def check():\n', '    pass\n\n\n', 'class AvishanConfig:\n')
        )
    if not app_name:
        f.writelines(['    MONITORED_APPS_NAMES = []\n',
            """    NOT_MONITORED_STARTS = ['/admin', '/static', '/favicon.ico']
"""
            , "    JWT_KEY = 'CHANGE_THIS_KEY'\n",
            '    USE_JALALI_DATETIME = True\n'])
    else:
        f.write('    pass\n')
    f.close()
