Fixed error in the Helper::isPlaceholder method