def METHOD_NAME(self):
    """ Test if the lock is held by the current process.
        Returns ``True`` if the current process ID matches the
        number stored in the PID file.
        """
    result = False
    current_pid = os.getpid()
    pidfile_pid = self.read_pid()
    if current_pid == pidfile_pid:
        result = True
    return result