Check to make sure our $attached array is empty before checking its contents