Check for valid slug.