added method to check if porter is prepared