async def locked(self) -> bool:
        """
        Returns True if this key is locked by any process, otherwise False.
        """
        return await self.redis.get(self.name) is not None

        Returns True if this key is locked by any process, otherwise False.
        
aioredis/lock.py