def successfully_imported_pycalphad():
    """
    Checks if pycalphad is installed. 
    If not, warns the user that pycalphad-dependent features cannot be used
    Also tells the user how to install it (if the user has Anaconda)
    """
    try:
        import pycalphad as pyc
    except ImportError:
        print('The feature you are trying to use requires pycalphad')
        print(
            "In Anaconda, use 'conda install -c pycalphad -c conda-forge pycalphad' to install it"
            )
        return False
    return True
