Answer:
The function in python is as follows
def is_present(num,list):
  stat = False
  if num in list:
     stat = True
   Â
  return bool(stat)
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)