def METHOD_NAME(self, name, location):
    result = False
    if name == 'Domain':
        result = True
    elif location.get_folder_path() == '/JDBCSystemResource/JdbcResource/JDBCDriverParams/Properties' and \
            name == 'Properties':
        result = True
    elif location.get_folder_path() == '/ResourceGroupTemplate/JDBCSystemResource/JdbcResource/JDBCDriverParams/Properties' and \
            name == 'Properties':
        result = True
    elif location.get_folder_path() == '/ResourceGroup/JDBCSystemResource/JdbcResource/JDBCDriverParams/Properties' and \
            name == 'Properties':
        result = True
    elif location.get_folder_path() == '/Partition/ResourceGroup/JDBCSystemResource/JdbcResource/JDBCDriverParams/Properties' and \
            name == 'Properties':
        result = True
    elif location.get_folder_path() == '/Application':
        result = True
    elif location.get_folder_path() == '/ResourceGroupTemplate/Application':
        result = True
    elif location.get_folder_path() == '/ResourceGroup/Application':
        result = True
    elif location.get_folder_path() == '/Partition/ResourceGroup/Application':
        result = True
    elif location.get_folder_path() == '/SecurityConfiguration/Realm/Auditor/DefaultAuditor':
        result = True
    elif location.get_folder_path() == '/SecurityConfiguration/Realm/AuthenticationProvider/TrustServiceIdentityAsserter':
        result = True
    return result