nit: create a function and cache the results. _Originally posted by @houseroad in https://github.com/vllm-project/vllm/pull/20090#discussion_r2169027989_ Thanks to @houseroad, there are a lot of code like `has_pplx = importlib.util.find_spec("pplx_kernels") is not None` anywhere. Same for `has_deepgemm`, `has_deepep` etc. We can create util function and cache the result for better readability and maintainablility. I will have a pr for this soon.