<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def displayEmptyInputWarningBox(display=True, parent=None):
 """ Displays a warning box for the 'input' parameter. """

    if sys.version_info[0] >= 3:
        from tkinter.messagebox import showwarning
    else:
        from tkMessageBox import showwarning

    if display:
        msg = 'No valid input files found! '+\
        'Please check the value for the "input" parameter.'
        showwarning(parent=parent,message=msg, title="No valid inputs!")
    return "yes"