public static boolean isDynamicalOrIgnoredProfile(String realm){
  String profileAttribute=getProfileAttribute(realm);
  return profileAttribute != null && (profileAttribute.equalsIgnoreCase(DYNAMIC_PROFILE) || profileAttribute.equalsIgnoreCase(CREATE_ALIAS_PROFILE) || profileAttribute.equalsIgnoreCase(IGNORE_PROFILE));
}

public static boolean isDynamicalOrIgnoredProfile ( String realm ) { String profileAttribute = getProfileAttribute ( realm ) ; return profileAttribute != null && ( profileAttribute . equalsIgnoreCase ( DYNAMIC_PROFILE ) || profileAttribute . equalsIgnoreCase ( CREATE_ALIAS_PROFILE ) || profileAttribute . equalsIgnoreCase ( IGNORE_PROFILE ) ) ; }
checks if dynamical profile creation or ignore profile is enabled .
