<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_workdir(cls, path):
 """ Check if the given path is a workdir Args: path(str):
 Path to check Return: bool: True if the given path is a workdir """

        try:
            cls(path=path).load()
        except MalformedWorkdir:
            return False

        return True