try:
    from mentalcore import mapi
except:
    cmds.warning('NO MENTAL CORE LOADED!!!!!')
    pass