(self, time)
return over
Check if a motion has ended after a specific point in time.

    Args:
      time: Time elapsed since the motion began.

    Returns:
      Boolean indicating if the motion is over.
Check if a motion has ended after a specific point in time.
Check if a motion has ended after a specific point in time .
def is_over(self, time):
    """Check if a motion has ended after a specific point in time.

    Args:
      time: Time elapsed since the motion began.

    Returns:
      Boolean indicating if the motion is over.

    """
    over = (not self.enable_loop()) and (time >= self.get_duration())
    return over
def is_over ( self , time ) : over = ( not self . enable_loop ( ) ) and ( time >= self . get_duration ( ) ) return over