added method isCreated for context