PEATSA/Core/Utilities.py
def IsReducedCode(code):

	'''Returns True is code is in reduced format, false otherwise.
	
	A code is in reduced format simply if it contains no colons'''
	
	components = code.split(':')
	if len(components) == 1:
		return True
	else:
		return False
Returns True is code is in reduced format, false otherwise.
	
	A code is in reduced format simply if it contains no colons
Returns True is code is in reduced format, false otherwise.
A code is in reduced format simply if it contains no colons
Returns True is code is in reduced format false otherwise . A code is in reduced format simply if it contains no colons
def IsReducedCode(code):
	components = code.split(':')
	if len(components) == 1:
		return True
	else:
		return False
def IsReducedCode ( code ) : components = code . split ( ':' ) if len ( components ) == 1 : return True else : return False
Returns True is code is in reduced format, false otherwise.
Returns True is code is in reduced format false otherwise .
'''Returns True is code is in reduced format, false otherwise.
	
	A code is in reduced format simply if it contains no colons'''
code