def arrayizeValue(value):
 if (not isListLike(value)):
  value = [value]
 return value

def arrayizeValue ( value ) : if ( not isListLike ( value ) ) : value = [ value ] return value
makes a list out of value if it is not already a list or tuple itself .