Check for valid plan prefix