Check the existence of folder path.

def is_dir_exists(dirpath):
        # type: (AnyStr) -> bool
        """Check the existence of folder path."""
        if dirpath is None or not os.path.exists(dirpath) or not os.path.isdir(dirpath):
            return False
        else:
            return True