get Option By Declared Name
Deprecated
For removal, prefer using collection operations on 'options' instead, make an extension or an utility method
Returns the option with the supplied declared name (i.e., name of the method parameter), or null
if not found.
This does not take into account nested aggregations, use getNestedOptionByDeclaredName instead.