def METHOD_NAME(self, file_path: str, task: Any, prefix: str = "") -> None:
    """Checks for possible block usage"""
    if not task or not isinstance(task, dict):
        return
    if ResourceType.BLOCK in task and isinstance(task[ResourceType.BLOCK], list):
        prefix += f"{ResourceType.BLOCK}."  # with each nested level an extra block prefix is added
        self._create_block_vertices(file_path=file_path, block=task, prefix=prefix)
        for block_task in task[ResourceType.BLOCK]:
            self.METHOD_NAME(file_path=file_path, task=block_task, prefix=prefix)
    else:
        self._create_tasks_vertices(file_path=file_path, task=task, prefix=prefix)