Is the source bound to the expression

has_srcref(expr)

Arguments

expr

A language object which may have a srcref attribute

Value

A logical value indicating whether the language object has source