LLD - Design — Library Management System
Identify the bug in this hold expiration check code:
def is_hold_valid(hold):
if hold.expiry_time > current_time:
return True
else:
return False