def validate_minimum(value, minimum):
 if ((minimum is not None) and (value < minimum)):
  raise ValueError((u'%r must be larger than %r.' % (value, minimum)))

def validate_minimum ( value , minimum ) : if ( ( minimum is not None ) and ( value < minimum ) ) : raise ValueError ( ( u'%r must be larger than %r.' % ( value , minimum ) ) )
validate that value is at least minimum normally called in :meth:~mopidy .