made isPosted language independent