def is_predicate(logic, start, end):
	"""Returns T/F depending on if logic string is predicate and index of predicate operator (<=)"""
	equals_ind = logic.index("=")
	if equals_ind>end or equals_ind<start:
		return True, equals_ind
	return False, -1