public boolean isUserHookEnabled() {
    return Boolean.parseBoolean(getProperty(POST_USER_CREATION_HOOK_ENABLED));
  }
Indicates whether feature for user hook execution is enabled or not.

@return true / false (defaults to false)
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java