Is is possible to check whether a given attribute is present in a directive, ideally using isolate scope or in a worst case scenario the attributes object.
With a direct
The way to do what you want is by looking at the attribute object in the link function:
link: function(scope, element, attrs) { if("status" in attrs) //do something }