HasScript (object, string attribute name)
Returns a boolean - true if the specified attribute is a script.
NOTE: This a hard-coded function.