parameters: (self,name)
return_statement: return name
docstring: (`Internal API`) Check whether a name corresponds to a Nexus dependency, and raise an error if it doesn't.
docstring_summary: (`Internal API`) Check whether a name corresponds to a Nexus dependency, and raise an error if it doesn't.
docstring_tokens: ( Internal API ) Check whether a name corresponds to a Nexus dependency and raise an error if it doesn t .
function: def check_dependency(self,name):
          """
          (`Internal API`) Check whether a name corresponds to a Nexus dependency, and raise an error if it doesn't. 
          """
          name = name.lower()
          if name not in self.dependencies:
              self.error('"{}" is not a dependency of Nexus'.format(name))
          #end if
          return name
function_tokens: def check_dependency ( self , name ) : name = name . lower ( ) if name not in self . dependencies : self . error ( '"{}" is not a dependency of Nexus' . format ( name ) ) #end if return name