def get(self, name):
if not name:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return self.functions.get(name)<EOL>
Returns the function given name or LogicalId of the function. Every SAM resource has a logicalId, but it may
also have a function name. This method searches only for LogicalID and returns the function that matches
it.

:param string name: Name of the function
:return Function: namedtuple containing the Function information if function is found.
                  None, if function is not found
:raises ValueError If name is not given