private function isMappingConfigurable($mapping = NULL, $module = 'ldap_user') {
    $configurable = (
      (
        (!isset($mapping['configurable_to_drupal']) && !isset($mapping['configurable_to_ldap'])) ||
        (isset($mapping['configurable_to_drupal']) && $mapping['configurable_to_drupal']) ||
        (isset($mapping['configurable_to_ldap']) && $mapping['configurable_to_ldap'])
      )
      &&
      (
        !isset($mapping['config_module']) ||
        (isset($mapping['config_module']) && $mapping['config_module'] == $module)
      )
    );
    return $configurable;
  }
private function isMappingConfigurable($mapping = NULL, $module = 'ldap_user') {
    $configurable = (
      (
        (!isset($mapping['configurable_to_drupal']) && !isset($mapping['configurable_to_ldap'])) ||
        (isset($mapping['configurable_to_drupal']) && $mapping['configurable_to_drupal']) ||
        (isset($mapping['configurable_to_ldap']) && $mapping['configurable_to_ldap'])
      )
      &&
      (
        !isset($mapping['config_module']) ||
        (isset($mapping['config_module']) && $mapping['config_module'] == $module)
      )
    );
    return $configurable;
  }
private function isMappingConfigurable ( $ mapping = NULL , $ module = 'ldap_user' ) { $ configurable = ( ( ( ! isset ( $ mapping [ 'configurable_to_drupal' ] ) && ! isset ( $ mapping [ 'configurable_to_ldap' ] ) ) || ( isset ( $ mapping [ 'configurable_to_drupal' ] ) && $ mapping [ 'configurable_to_drupal' ] ) || ( isset ( $ mapping [ 'configurable_to_ldap' ] ) && $ mapping [ 'configurable_to_ldap' ] ) ) && ( ! isset ( $ mapping [ 'config_module' ] ) || ( isset ( $ mapping [ 'config_module' ] ) && $ mapping [ 'config_module' ] == $ module ) ) ) ; return $ configurable ; }
Is a mapping configurable by a given module?

@param array $mapping as mapping configuration for field, attribute, property, etc.
@param string $module machine name such as ldap_user

@return boolean
Is a mapping configurable by a given module?