def is_valid_method_param(met):
    """ Checks if method is compatible with GROMACS """
    methods = ['linkage', 'jarvis-patrick', 'monte-carlo',
        'diagonalization', 'gromos']
    return met in methods
