This module lets you access drupal entities without worrying about accidentally triggering a fatal exception.
The class is loosely based on the Maybe Monad, but customized for the particularities of PHP/Drupal and tailored specifically for accessing and traversing nested entities.
The module helps protect you from four common issues that would usually trigger a fatal exception: