class Base(dict):

    def _get_property(self, name):
        """Return the named property from dictionary values."""
        if not self[name]:
            return None
        return self[name]

class Base(dict):

    def _get_property(self, name):
        """Return the named property from dictionary values."""
        if name not in self:
            return None
        return self[name]

Make _get_property to return none when name does not exist
Make _get_property to return none when name does not exist

  class Base(dict):
  
      def _get_property(self, name):
          """Return the named property from dictionary values."""
-         if not self[name]:
+         if name not in self:
              return None
          return self[name]
  
Make _get_property to return none when name does not exist
## Code Before:
class Base(dict):

    def _get_property(self, name):
        """Return the named property from dictionary values."""
        if not self[name]:
            return None
        return self[name]

## Instruction:
Make _get_property to return none when name does not exist
## Code After:
class Base(dict):

    def _get_property(self, name):
        """Return the named property from dictionary values."""
        if name not in self:
            return None
        return self[name]
