<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def text(el, strip=True):
 """ Return the text of a ``BeautifulSoup`` element """

    if not el:
        return ""

    text = el.text
    if strip:
        text = text.strip()
    return text