Most often appears as
有男子气 ('to have manliness') or
男子气概 (nánzǐ qìgài, 'masculine vigor', a fuller four-character form). Both refer to traditional masculine traits — courage, decisiveness, physical presence — rather than gender per se. Compare
阳刚 (yánggāng), which is more abstract/aesthetic;
男子气 is the everyday word.