<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_obstory_metadata(self, status_id):
 """ Check for the presence of the given metadata item :param string status_id: The metadata item ID :return: True if we have a metadata item with this ID, False otherwise """

        self.con.execute('SELECT 1 FROM archive_metadata WHERE publicId=%s;', (status_id,))
        return len(self.con.fetchall()) > 0