<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_present(p):
 """ Given a parser or string, make a parser that returns True if the parser matches, False otherwise """

    return lexeme(p).optional().map(lambda v: False if v is None else True)