Return information about the requested capability from this list.

        Will return None if there is no information about the requested capability.

def capability_info(self, name=None):
        """Return information about the requested capability from this list.

        Will return None if there is no information about the requested capability.
        """
        for r in self.resources:
            if (r.capability == name):
                return(r)
        return(None)