"""
*******************************************************
Owner: Ashutosh Jha
For: APPCAIR BITS Pilani Goa Campus, Reflexis Systems
Function Name: askForRule
Asks if user wants to add a rule returns boolean value
depending on user input.
*******************************************************
"""
def askForRule(cur_row):
print("\nCurrent Instance/Row:\n",cur_row,"\n")
print("Do you want to add a rule?(y/n)")
add_r = input()
#print(head)
if((add_r == "y") or (add_r == "Y")):
return True
else:
return False