def METHOD_NAME(self, instance, instance_class):
    """
        This method checks if the given instance is instantiated from the given instance class.
        Arguments:
            instance - IRI of an instance
            instance_class - IRI of the instance class to be checked against
    """
    # Delete "<" and ">" around the IRI
    instance = trimIRI(instance)
    instance_class = trimIRI(instance_class)
    # Prepare query string, ignore owl:Thing and owl:NamedIndividual
    query = PREFIX_RDFS + \
            PREFIX_RDF + \
            PREFIX_XSD + \
            PREFIX_OWL + \
            """SELECT ?result \
            WHERE { <%s> rdf:type ?type . \
            FILTER(?type != owl:Thing && ?type != owl:NamedIndividual) . \
            BIND(xsd:boolean(if(?type = <%s>, "true", "false")) as ?result)  \
            }""" % (instance, instance_class)
    # Perform query
    response = self.performQuery(query)
    res = [list(r.values())[0] for r in response]
    if res[0] == 'true':
        return True
    else:
        return False