Answer:
The function in python is as follows
def is_present(num,list):
stat = False
if num in list:
stat = True
return bool(stat)
Step-by-step explanation:
This defines the function
def is_present(num,list):
This initializes a boolean variable to false
stat = False
If the integer number is present in the list
if num in list:
This boolean variable is updated to true
stat = True
This returns true or false
return bool(stat)