<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def version_is_valid(version_str):
 """ Check to see if the version specified is a valid as far as pkg_resources is concerned False True """

    try:
        packaging.version.Version(version_str)
    except packaging.version.InvalidVersion:
        return False
    return True