<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _validate_lease_dir(self):
 """ Validate that the directory used by this store exist, otherwise create it. """

        try:
            if not os.path.isdir(self.path):
                os.makedirs(self.path)
        except OSError as e:
            raise_from(
                LagoSubnetLeaseBadPermissionsException(self.path, e.strerror),
                e
            )