def has_foreign_key(self, name):
        """
        Returns whether this table has a foreign key constraint with the given name.

        :param name: The constraint name
        :type name: str

        :rtype: bool
        """
        name = self._normalize_identifier(name)

        return name in self._fk_constraints
Returns whether this table has a foreign key constraint with the given name.

        :param name: The constraint name
        :type name: str

        :rtype: bool