Q:

how to check multiple return values

I am tryign to check if any of the values "GIN" or "NOT READY" or "TO BE ABANDON OR NEEDS RESUBMISSION" equals retrunVal,i notice that for any returnVal the "if" loop" is getting and "INSIDE" is getting printed,I am doubting the syntax is not right,can anyone provide inputs? 
    if ('GIN'  or 'NOT READY' or 'TO BE ABANDON OR NEEDS RESUBMISSION' == returnVal):
        print "INSIDE"

A:

Like this:
if returnValue in ('GIN', 'NOT READY', 'TO BE ABANDON OR NEEDS RESUBMISSION'):
    print 'INSIDE'

That's the standard idiom - using the in operator to test membership in a tuple with all possible values.  Much cleaner than a bunch of or'ed contitions. 

A:

Your code, logically, reads like this:
if 'GIN' exists
or if 'NOT READY' exists
or if 'TO BE ABANDON OR NEEDS RESUBMISSION' is equal to retVal
   do something

Read this link about truth-values in python (this is also related to paxdiablo's answer). 
a better approach is to use python's "in" statement:
if retVal in ['GIN', 'NOT READY', 'TO BE ABANDON OR NEEDS RESUBMISSION']:
   do something

